package com.software.messagecenter.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
public class ClassMessageDTO {
    private String messageId;

   private Student student;
   private Teacher teacher;

    private String classId;

    private String sendId;

    private String content;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")

    private Date sendTime;
}
